package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.domain.Permission;
import cn.wolfcode.rbac.query.QueryObject;
import cn.wolfcode.rbac.util.PageResult;

import java.util.List;

public interface IPermissionService {

    void save(Permission entity);

    void delete(Long id);

    Permission get(Long id);

    List<Permission> list();
    /**
     * 高级查询
     * @param qo
     * @return
     */
    PageResult query(QueryObject qo);


}
